package com.ys.peony.model;

import com.zhy.tree.bean.TreeNodeId;
import com.zhy.tree.bean.TreeNodeLabel;
import com.zhy.tree.bean.TreeNodePid;

/**
 * Created by yml on 17/5/29.
 */

public class AreaBean {

    @TreeNodeId
    private int _id;
    @TreeNodePid
    private int parentId;
    @TreeNodeLabel
    private String name;
    private YWDJPrepareAreaItemModel model;

    public AreaBean(int _id, int parentId, String name, YWDJPrepareAreaItemModel model) {
        super();
        this._id = _id;
        this.parentId = parentId;
        this.name = name;
        this.model=model;
    }

    public int get_id() {
        return _id;
    }

    public void set_id(int _id) {
        this._id = _id;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public YWDJPrepareAreaItemModel getModel() {
        return model;
    }

    public void setModel(YWDJPrepareAreaItemModel model) {
        this.model = model;
    }
}
